<?php
	$fruit_list = array('banna', 'mango', 'apple', 'orang');
	
	$fruit = $_POST['fruit'];
	
	if (in_array($fruit, $fruit_list) ) {
		echo 'Your fruit ' . $fruit;
	} else {
		echo 'not found';
	}
	
?>